class One {
  constructor(){
    console.log('111');
  }
  getData(){
    console.log('haha');
  }
}

One()